/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package us.oh.k12.wkw.robot.command;

/**
 *
 * @author Team4145
 */
public class LauncherChangeYOffsetCmd extends CommandBase{
    
    private int yOffsetValue;
    
    public LauncherChangeYOffsetCmd(int offset) {
        super("LauncherChangeYOffset()");
        this.requires(this.getLaunchFrisbeeSystem());
        yOffsetValue = offset;
        
    }
    
    public void execute() {
        
        this.getLaunchFrisbeeSystem().changeYOffset(yOffsetValue);
    }
    
    public boolean isFinished() {
        return true;
    }
}
